package com.zhixiang.xaec.entity.health;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name="health_HealthFile")
@Comment("职业危害健康档案")
public class HealthFile extends BaseEntity{
	
	/* 体检记录（管理）
	*/
	@Comment("员工编号")
	@Column(length=200)
	private String personNo;
	@Comment("姓名")
	@Column(length=200)
	private String personName;
	@Comment("年龄")
	@Column(length=30)
	private Integer age;
	@Comment("性别(1.男，2.女)")
	@Column(length=30)
	private Integer sex;
	@Comment("联系电话")
	@Column(length=200)
	private String telephone;
	@Comment("职务")
	@Column(length=200)
	private String occupation;
	@Comment("部门")
	@Column(length=200)
	private String department;
	@Comment("工种")
	@Column(length=200)
	private String workType;
	@Comment("岗位")
	@Column(length=200)
	private String post;
	@Comment("涉及危害因素")
	@Column(length=1000)
	private String factorName;
	/*
	 * 扩展属性
	 * */
	@Comment("职业史")
	@Column(length=1000)
	private String occupationHistory;
	@Comment("职业病描述")
	@Column(length=1000)
	private String diseasesDescribe;
	@Comment("职业危害接触史")
	@Column(length=1000)
	private String harmContact;
	public String getPersonNo() {
		return personNo;
	}
	public void setPersonNo(String personNo) {
		this.personNo = personNo;
	}
	public String getPersonName() {
		return personName;
	}
	public void setPersonName(String personName) {
		this.personName = personName;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getOccupation() {
		return occupation;
	}
	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	public String getDepartment() {
		return department;
	}
	public void setDepartment(String department) {
		this.department = department;
	}
	public String getWorkType() {
		return workType;
	}
	public void setWorkType(String workType) {
		this.workType = workType;
	}
	public String getPost() {
		return post;
	}
	public void setPost(String post) {
		this.post = post;
	}
	public String getFactorName() {
		return factorName;
	}
	public void setFactorName(String factorName) {
		this.factorName = factorName;
	}
	public String getOccupationHistory() {
		return occupationHistory;
	}
	public void setOccupationHistory(String occupationHistory) {
		this.occupationHistory = occupationHistory;
	}
	public String getDiseasesDescribe() {
		return diseasesDescribe;
	}
	public void setDiseasesDescribe(String diseasesDescribe) {
		this.diseasesDescribe = diseasesDescribe;
	}
	public String getHarmContact() {
		return harmContact;
	}
	public void setHarmContact(String harmContact) {
		this.harmContact = harmContact;
	}


}
